From: bors Date: Tue, 10 Oct 2017 17:58:30 +0000 (+0000) Subject: Auto merge of #4602 - ehuss:fix-new-test-windows, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~6^2~11 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=5c0e9f1500dbfea8f3fa26a9ac3a89c5d8439dab;p=cargo.git Auto merge of #4602 - ehuss:fix-new-test-windows, r=alexcrichton Allow test to pass if user has ~/.gitconfig on Windows. The `new` test will fail on Windows if you have `~/.gitconfig` configured with a username/email. This is because libgit2 searches quite a few environment variables hunting for a config file. Rather than adjusting other environment variables (I think at a minimum it would be `%HOMEDRIVE%%HOMEPATH%` and `%USERPROFILE%`), this just adds an empty config file since libgit2 will stop at the first one it finds. --- 5c0e9f1500dbfea8f3fa26a9ac3a89c5d8439dab